package com.ybb.production.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * Description: new java files header..
 *
 * @author dengjie
 * @version 1.0
 * @date 2023/9/9 10:57
 */
@Data
public class GarmentProductionProcessDTO {
    private Long id;

    /**
     * 工序名称
     */
    @ApiModelProperty(value = "工序名称")
    @NotNull(message = "工序名称不能为空")
    private String processName;

    /**
     * 单价
     */
    @ApiModelProperty(value = "单价")
    @NotNull(message = "单价不能为空")
    private String price;

    /**
     * 数量
     */
    @ApiModelProperty(value = "数量")
    @NotNull(message = "数量不能为空")
    private Long quantity;

    /**
     * 部门id
     */
    @ApiModelProperty(value = "部门id")
    private Long deptId;

    /**
     * 序号
     */
    @ApiModelProperty(value = "序号")
    @NotNull(message = "序号不能为空")
    private Long sequence;
}
